var language = "";
var networkType = "";
var deviceType = "";

function init() {
	_initHeader();
	
	$("#navigateButton").unbind("click");
	$("#navigateButton").click(navigateButtonHandler);
	
	document.addEventListener("pause", function() {
		alert("pause event occured");
	});
	
	document.addEventListener("resume", function() {
		alert("resume event occured");
	});
	
	document.addEventListener("screenback", function() {
		alert("screenback event occured");
	});
	
	document.addEventListener("networktypechange", function() {
		alert("networktypechange event occured");
	});
}

function navigateButtonHandler() {
	navigation.navigate({"pageId" : "apitest"});
}
